package com.example.boot.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-05-08
 * Time: 11:44
 */

@Data
@Component
@ConfigurationProperties(prefix = "student")
public class Student {
    private String name;
    private String stuno;
    private String favorite;
    private String classs;

    private String classNo;
    private String className;
}
